
<!doctype html>
<html>
<head>
<title>用户新增</title> <#include "../../commonUse.html"/>

<script src="${ctx.contextPath}/pages/system/sysuser/js/sysuser_add.js"></script>
<script
	src="${ctx.contextPath}/pages/system/sysuser/js/sysuser_area_tree_quary.js"></script>
<script src="${ctx.contextPath}/js/validator.js"></script>

</head>
<body>
	<div class="list-template">
		<div class="m-head m-head-p">
			<div class="left">
				<label class="title">用户新增</label>
			</div>
			<div class="right">
				<div class="flow"></div>
				<!--     <div class="f i-setting f_setting" id="tradeTypeID"></div> -->
			</div>
			<img class="panel-close" src="../images/card-close.png"
				onclick="parent.closeDialogWin();" />
		</div>
		<div class="m-page">
			<form method="post" id="form1" name="form1">
				<div class="l-edit" id='main_div'>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<!-- <tr>
							<td class="font" width="30%">所属区域：<span class="empt">*</span></td>
							<td width="70%"><input class="text" id="areaName"
								type="text" name="areaName" readonly value=""
								style="width: 150px;" onclick="showMenu();" /> <input
								class="text" id="areaCode" name="areaCode" type="hidden"
								style="width: 150px;" />
								<div id="menuContent" class="menuContent"
									style="display: none; position: absolute;">
									<ul id="treeDemo" class="ztree"
										style="margin-top: 0; width: 180px; height: 250px;"></ul>
								</div></td>
						</tr> -->
						<!-- <tr>
							<td class="font" width="30%">用户类型：<span class="empt">*</span></td>
							<td width="70%"><select id="userType" name="userType"
								class="select" dataType="LimitA" msg="用户类型不能为空.">
									<option VALUE="">请选择</option>
									<option VALUE="0">超级管理员</option>
									<option VALUE="1">代理商</option>
									<option VALUE="2">普通用户</option>
							</select></td>
						</tr> -->
						<tr>
							<td class="font" width="30%">用户名称：<span class="empt">*</span></td>
							<td width="70%"><input type="text" id="userName"
								name="userName" class="text" maxlength="10" dataType="LimitA"
								min="1" max="20" msg="用户名称不能为空且少于20个字节."></input></td>
						</tr>
						<!-- <tr>
							<td class="font" width="30%">用户账号：<span class="empt">*</span></td>
							<td width="70%"><input type="text" id="userId" name="userId"
								class="text" maxlength="20" dataType="LimitA" min="1" max="20"
								msg="职工工号不能为空且少于20个字节."></input></td>
						</tr> -->
						<tr>
							<td class="font" width="30%">手机号码：<span class="empt">*</span></td>
							<td width="70%"><input type="text" id="phone" name="phone"
								class="text" maxlength="13" dataType="Mobile" msg="请输入手机号码！"></input></td>
						</tr>
						<tr>
							<td class="font" width="30%">工作邮箱：<span class="empt">*</span></td>
							<td width="70%"><input type="text" id="email" name="email"
								 class="text" dataType="Email" msg="请输入正确格式的邮箱！"></input></td>
						</tr>
						<tr>
							<td class="font" width="30%">提示：</td>
							<td width="70%"><span style="color: red;">新增用户默认密码手机号后六位!</span></td>
						</tr>
	
					</table>
					<div class="edit-btn">
						<ul>
							<li id="checkSaveBtn" class="btn" onclick="userAdd();">保 存</li>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>